<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="../js/style.css" />
<script language="javascript" src="../js/PopupCalendar.js" ></script>
<title>湖北包装网会员管理系统</title></head>
<body>

<script >

var oCalendarEn=new PopupCalendar("oCalendarEn");	//初始化控件时,请给出实例名称如:oCalendarEn
oCalendarEn.Init();


var oCalendarChs=new PopupCalendar("oCalendarChs");	//初始化控件时,请给出实例名称:oCalendarChs
oCalendarChs.weekDaySting=new Array("日","一","二","三","四","五","六");
oCalendarChs.monthSting=new Array("一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月");
oCalendarChs.oBtnTodayTitle="今天";
oCalendarChs.oBtnCancelTitle="取消";
oCalendarChs.startYear=1990;
oCalendarChs.endYear=2019;
oCalendarChs.Init();
</script>
<script>
function pass(id){
	if(confirm("确认通过并成为企业会员?"))
    {
       window.location.href="../user/moneyPass.action?user_id="+id;
    }
}
</script>
<jsp:include page="adminTitle.jsp" flush="true"></jsp:include>
<div id="mainpage">
  <div class="bodytitle">
    <div class="bodytitleleft"></div>
    <div class="bodytitletxt">汇款管理 </div>
    <!-- <div class="bodytitletxt2"><a href="../user/getAllComUser.action">企业会员</a></div>
    <div class="bodytitletxt2"><a href="../user/getAllPerUser.action">个人会员</a></div>
    <div class="bodytitletxt2"><a href="../user/getAllWebUser.action">网站会员</a></div> -->
  </div>
  <div>
  <form action="../user/searchMoneyInfoList.action" method="post">
  	<table align="center" id="webusertable" >
  		<tr>
  			<td style="font-size: 12px">付款途径：
  				<select name="moneyInfo.money_tj">
  					<option value="">全部</option>
  					<option value="1" >银行卡转账</option>
  					<option value="2" >邮局汇款</option>
  					<option value="3" >公司转账</option>
  				</select> 
  			</td>
  			<td style="font-size: 12px">汇款方式：
				<select name="moneyInfo.money_type">
				<option value="">全部</option>
  					<option value="1" >网上转账</option>
  					<option value="2" >现金送存</option>
  					<option value="3" >柜面卡看转存</option>
  					<option value="3" >ATM转账</option>
  				</select> 
			</td>
  			<td style="font-size: 12px">付款日期：
  			<input readonly type="text" name="moneyInfo.money_date1"  onclick="getDateString(this,oCalendarChs)"/> -
  			<input readonly type="text" name="moneyInfo.money_date2"  onclick="getDateString(this,oCalendarChs)"/>
  			</td>
  			<td><input type="submit" value="查询" /> </td>
  		</tr>
  	</table>
  	</form>
  </div>
  <table cellpadding="0" cellspacing="0" border="0" id="table" class="sortable">
		<thead>
			<tr>
				<th class="nosort"><h3>交易流水号</h3></th>
				<th class="nosort"><h3>企业名称</h3></th>
				<th><h3>付款途径</h3></th>
				<th class="nosort"><h3>付款日期</h3></th>
				<th class="nosort"><h3>汇款流水号</h3></th>
				<th><h3>汇款方式</h3></th>
				<th class="nosort"><h3>交易行名</h3></th>
				<th class="nosort"><h3>汇款金额</h3></th>
				<th class="nosort"><h3>用户信息</h3></th>
				<th class="nosort"><h3>确认通过</h3></th>
			</tr>
		</thead>
		<tbody>
		<s:iterator value="moneyList">
			<tr>
			<td><font size="2px"><s:property value="serial_number"/> </font></td>
			<td><font size="2px"><s:property value="com_name"/></font></td>
				<td><font size="2px">
					<s:if test="money_tj==1">银行卡转账</s:if>
					<s:elseif test="money_tj==2">邮局汇款</s:elseif>
					<s:elseif test="money_tj==3">公司转账</s:elseif>
					</font> 
				</td>
				<td><font size="2px"><s:property value="money_date"/></font></td>
				<td><font size="2px"><s:property value="money_num"/></font></td>
				<td><font size="2px">
					<s:if test="money_type==1">网上转账</s:if>
					<s:elseif test="money_type==2">现金送存</s:elseif>
					<s:elseif test="money_type==3">柜面卡看转存</s:elseif>
					<s:elseif test="money_type==4">ATM转账</s:elseif>
					</font> 
				</td>
				<td><font size="2px"><s:property value="money_bank"/></font></td>
				<td><font size="2px"><s:property value="money_money"/></font></td>
				<td><img src="img/ico-edit.gif" onclick='location.href="../user/comUserView.action?user_id=<s:property value="com_id"/>"' style="cursor: hand"/></td>
				<td><font size="2px"><s:if test="checked==0"><img src="img/ico-edit.gif" onclick='pass(<s:property value="com_id"/>)' style="cursor: hand"/></s:if><s:else>已通过</s:else></font> </td>
			</tr>
		</s:iterator>
		</tbody>
  </table>
	<div id="controls">
		<div id="perpage">
			<select onchange="sorter.size(this.value)">
			    <option value="5">5</option>
				<option value="10" selected="selected">10</option>
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
			</select>
			<span><font size="2px">输入分页条数</font></span>
		</div>
		<div id="navigation">
			<img src="../js/images/first.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1,true)" />
			<img src="../js/images/previous.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1)" />
			<img src="../js/images/next.gif" width="16" height="16" alt="First Page" onclick="sorter.move(1)" />
			<img src="../js/images/last.gif" width="16" height="16" alt="Last Page" onclick="sorter.move(1,true)" />
		</div>
		<div id="text"><font size="2px">显示页面： <span id="currentpage"></span> of <span id="pagelimit"></span> </font></div>
	</div>
	<script type="text/javascript" src="../js/script.js"></script>
	<script type="text/javascript">
    var sorter = new TINY.table.sorter("sorter");
	sorter.head = "head";
	sorter.asc = "asc";
	sorter.desc = "desc";
	sorter.even = "evenrow";
	sorter.odd = "oddrow";
	sorter.evensel = "evenselected";
	sorter.oddsel = "oddselected";
	sorter.paginate = true;
	sorter.currentid = "currentpage";
	sorter.limitid = "pagelimit";
	sorter.init("table");<!-- sorter.init("table",0);参数表示选中第几列  -->
	sorter.size(10);
  </script>
</div>
</body>
</html>